package com.czk.feign;

import com.czk.entity.Result;
import com.czk.model.TbOperateLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/10/21 16:26
 */
@FeignClient("log")
@Component
public interface OperateLogFeign {
    /**
     * 增加
     *
     * @param operateLog
     * @return
     */
    @PostMapping("/operateLog/add")
    Result add(@RequestBody TbOperateLog operateLog);
}
